package Base;


import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * <p>Title ListTest</p>
 *
 * @author YiMing Liu
 * @date 2018/7/3 13:07
 * <p>Description:</p>
 */
public class ListTest {
    public static void main(String[] args) {
        List list = new ArrayList();
        list.add("123");
        list.add("789");

        list.add("456");
        Collections.sort(list);
        System.out.println(list);
    }
}
